package de.koller.reason.gui;

import de.koller.oceanFramework.gl.util.InputGL;
import de.koller.oceanFramework.tree.Child;
import de.koller.reason.RSea;

public class GUIInput extends RSea {

	@Child private final InputGL input = new InputGL();
	
	public float getMouseX() {
		return input.getMouseX();
	}
	
	public float getMouseY() {
		return input.getMouseY();
	}

	public boolean isMouseReleased( int button ) {
		return input.isMouseReleased( button );
	}

	public boolean isMouseDown( int mouseButton ) {
		return input.isMouseDown( mouseButton );
	}
	
}
